﻿Ext.namespace('FantastPlatform', 'FantastPlatform.UI');
FantastPlatform.UI.ReplyForm = function (config) {
    Ext.apply(this, config);

    this.items = [{
        layout: 'column',
        border: false,
        labelSeparator: '：',
        items: [
 {
     columnWidth: 1,
     border: false,
     layout: 'form',
     items: [new Ext.form.TextArea({
         fieldLabel: '回复内容',
         name: 'Content',
         allowBlank: false,
         blankText: " 回复内容不能为空",
         height: 80,
         width: 240
     })]
 }]
    }];

    FantastPlatform.UI.ReplyForm.superclass.constructor.call(this, {
        bodyStyle: 'padding:5px',
        collapsible: true,
        labelAlign: 'right',
        autoScroll: true,
        border: false
    });
};
Ext.extend(FantastPlatform.UI.ReplyForm, Ext.form.FormPanel, {
    onRender: function (ct, position) {
        FantastPlatform.UI.ReplyForm.superclass.onRender.call(this, ct, position);      
    }
});
